package wangm.httputill;

import wangm.util.HttpUtil;
import org.junit.Test;

/**
 * description
 *
 * @author zk
 * @since 2018/7/20
 */
public class HttpUtil2Test {

    @Test
    public void testGet() throws InterruptedException {
        System.out.println(HttpUtil.createGet("https://www.baidu.com").execute().getString());
    }

    @Test
    public void testPost(){
//        HttpUtil.createPost("https://www.baidu.com").addParameter("a",)
    }
}
